package learn.spring.dubbo.consumer;

import learn.spring.dubbo.framework.ProxyFactory;
import learn.spring.dubbo.provider.HelloService;

/**
 * @author ShenHao
 */
public class consumer {

    public static void main(String[] args) {

        HelloService helloService = ProxyFactory.getProxy(HelloService.class);
        String result = helloService.sayHello("123");
        System.out.println(result);

    }
}
